package com.example.api.controller;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * Create with Intellij idea
 * User:鲁智明
 * Date:2018/11/14
 * Time:23:03
 * 注册中心
 */

@SpringBootApplication
@EnableEurekaServer  //开启eureka 服务
public class EurekaApp {
    public static void main(String[] args) {
        SpringApplication.run(EurekaApp.class,args);
    }
}
